package xuli.dao;

import entity.Warehouse_Product;

import java.util.List;

/**
 * @author xuli
 */
public interface WareHouseProductDao {

    Warehouse_Product findByIdAndModelId(String productId, Integer modelId);

    List<Warehouse_Product> getProductAllModelType(Integer productId);

    void reduceInventory(Warehouse_Product warehouseProduct);

}
